<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-modelmodel-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">模块编码：</label>
                <div class="col-sm-8">
                    <input name="cellModelNumber" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">模块型号编码：</label>
                <div class="col-sm-8">
                    <input name="cellModelCode" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电池箱外键：</label>
                <div class="col-sm-8">
                    <input name="cellBoxId" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电池箱编码：</label>
                <div class="col-sm-8">
                    <input name="cellBoxCode" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">模块规格代码：</label>
                <div class="col-sm-8">
                    <input name="cellSpec" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">所含单体编码：</label>
                <div class="col-sm-8">
                    <input name="cellSingel" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">实际容量：</label>
                <div class="col-sm-8">
                    <input name="cellModelCap" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">实际电压：</label>
                <div class="col-sm-8">
                    <input name="cellVo" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">实际质量：</label>
                <div class="col-sm-8">
                    <input name="cellQuality" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">模块流向：</label>
                <div class="col-sm-8">
                    <input name="cellFlow" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">模块型号名称：</label>
                <div class="col-sm-8">
                    <input name="cellModelName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">外形：</label>
                <div class="col-sm-8">
                    <input name="appearance" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">尺寸：</label>
                <div class="col-sm-8">
                    <input name="size" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">额定容量：</label>
                <div class="col-sm-8">
                    <input name="capacity" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">标称电压：</label>
                <div class="col-sm-8">
                    <input name="voltage" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">额定质量：</label>
                <div class="col-sm-8">
                    <input name="weight" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">能量密度：</label>
                <div class="col-sm-8">
                    <input name="energyDensity" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">充电倍率：</label>
                <div class="col-sm-8">
                    <input name="powerDensity" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电池寿命：</label>
                <div class="col-sm-8">
                    <input name="batteryLife" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单体串并联方式：</label>
                <div class="col-sm-8">
                    <select name="cellType" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单体电池个数：</label>
                <div class="col-sm-8">
                    <input name="singleCount" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单体电池型号：</label>
                <div class="col-sm-8">
                    <input name="singleModel" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/modelmodel"
        $("#form-modelmodel-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-modelmodel-add').serialize());
            }
        }
    </script>
</body>
</html>